<template>
  <div class="vmui-dialog-white-mask">
    <div class="vmui-alert">
      <h4 class="vmui-alert-title" v-if="title" v-html="title"></h4>
      <p class="vmui-alert-content" v-html="message"></p>
      <div class="vmui-alert-ops">
        <span class="vmui-alert-button vmui-color-primary" @click.stop="closeAlert">确定</span>
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    props: {
      title: String,
      message: String,
      callback: Function
    }
  }
</script>

<style lang="scss" scoped>
  @import "../style";

  @import "styleMix";
  @include vmui-alert;
</style>
